package com.example.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.regex.Pattern;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author s
 * @since 2024-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PsLogs implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @TableField("userCode")
    private String usercode;

    @TableField("userName")
    private String username;

    @TableField("operateInfo")
    private String operateinfo;

    @TableField("operateDatetime")
    private LocalDateTime operatedatetime;

    @TableField(exist = false)
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    private LocalDateTime operatedatetime2;
    @TableField(exist = false)
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    private LocalDateTime operatedatetime3;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOperateinfo() {
        return operateinfo;
    }

    public void setOperateinfo(String operateinfo) {
        this.operateinfo = operateinfo;
    }

    public LocalDateTime getOperatedatetime() {
        return operatedatetime;
    }

    public void setOperatedatetime(LocalDateTime operatedatetime) {
        this.operatedatetime = operatedatetime;
    }

    public LocalDateTime getOperatedatetime2() {
        return operatedatetime2;
    }

    public void setOperatedatetime2(LocalDateTime operatedatetime2) {
        this.operatedatetime2 = operatedatetime2;
    }

    public LocalDateTime getOperatedatetime3() {
        return operatedatetime3;
    }

    public void setOperatedatetime3(LocalDateTime operatedatetime3) {
        this.operatedatetime3 = operatedatetime3;
    }
}
